<?php
defined( '_VALID_MOS' ) or die( 'Restricted access' );
function jcsToolBarReport()
{
    mosMenuBar::startTable();
    mosMenuBar::apply('applayreport', 'Execute');
    mosMenuBar::endTable();
}
function jcsToolBarDefault()
{
    mosMenuBar::startTable();
    mosMenuBar::publish();
    mosMenuBar::spacer();
    mosMenuBar::unpublish();
    mosMenuBar::spacer();
    mosMenuBar::addNew();
    mosMenuBar::spacer();
    mosMenuBar::editList();
    mosMenuBar::spacer();

    mosMenuBar::custom('remove', 'delete_f2.png', 'delete_f2.png', 'Delete', true, false );
    //mosMenuBar::deleteList('rremove');

    mosMenuBar::spacer();
    mosMenuBar::endTable();
   
}
function jcsToolBarNewSubscription()
{
    mosMenuBar::startTable();
    mosMenuBar::spacer();
    mosMenuBar::save();
    mosMenuBar::spacer();
    mosMenuBar::apply('applaysubscr');
    mosMenuBar::spacer();
    mosMenuBar::cancel();
    mosMenuBar::spacer();
    mosMenuBar::endTable();
    
}

function jcsToolBarNewUSubscription()
{
    mosMenuBar::startTable();
    mosMenuBar::spacer();
    mosMenuBar::save('save_usubscr');
    mosMenuBar::spacer();
    mosMenuBar::cancel('usub');
    mosMenuBar::spacer();
    mosMenuBar::endTable();
    
}

function jcsToolBarSubscription()
{
    mosMenuBar::startTable();
    mosMenuBar::spacer();
    mosMenuBar::publish('upublish');
    mosMenuBar::spacer();
    mosMenuBar::unpublish('uunpublish');
    mosMenuBar::spacer();
    mosMenuBar::addNew('new_subscr');
    mosMenuBar::spacer();
    mosMenuBar::editList('uedit');
    mosMenuBar::spacer();
    mosMenuBar::custom('uremove', 'delete_f2.png', 'delete_f2.png', 'Delete', true, false );
    mosMenuBar::spacer();
    mosMenuBar::endTable();
}

function jcsToolBarUEdit()
{
    mosMenuBar::startTable();
    mosMenuBar::spacer();
    mosMenuBar::save('us_save');
    mosMenuBar::spacer();
    mosMenuBar::apply('us_applay');
    mosMenuBar::spacer();
    mosMenuBar::cancel('usub');
    mosMenuBar::spacer();
    mosMenuBar::endTable();

}
?>